public class Father1 {
    private String name;
    private int age;
    public Father1(String name,int age){
        this.name=name;
        this.age=age;
        System.out.println("父类的有参构造器,name:"+name+",age:"+age);

    }
    public Father1(){
        System.out.println("父类的无参构造器");
    }
}
